package com.zw.mes.entity.technology;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zw.mes.base.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;
import java.util.Date;

/**
 * @author mayongfeng
 * @version 1.0.0
 * @ClassName DrawLssue.java
 * @Description TODO
 * @createTime 2021年03月25日 10:13:00
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "draw_lssue_section")
public class DrawLssue extends BaseModel {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    /** 下发记录表Id*/
    private Integer recordId;

    /** 所属科室id*/
    private Integer sectionId;

    /** 所属科室名称*/
    private String  sectionName;

    /** 下发状态:0=未下发，1=已下发*/
    private Integer lssueStatus=1;

    /** 签收状态：0=未签收，1=已签收*/
    private Integer signStatus=0;

    /** 签收时间*/
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date signTime;

    /** 签收人*/
    private String signName;

    /** 变更标识1=图纸签收，2=图纸变更签收*/
    private Integer changeType;







}
